# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=toapk
pkgver=0.7
pkgrel=0
pkgdesc="PKGBUILD to APKBUILD Conversion Tool"
url="http://lambdacreate.com"
arch="noarch !s390x" #fennel is not packaged for s390x
license="GPL-3.0-only"
depends="fennel"
source="https://gitlab.com/Durrendal/toAPK/-/archive/v$pkgver/toAPK-v$pkgver.zip"
builddir="$srcdir/toAPK-v$pkgver"

check() {
	make test
}

package() {
	install -Dm755 "$builddir"/src/toAPK.fnl "$pkgdir"/usr/bin/toAPK
}

sha512sums="5f5a056f94ad199a5348c271b1e0f83b27474b2879d259ce965b1a0a1e82b00fe01165776a0d339cc6dbe12661f0dbb10c19697aadc0b2745ebe26d878bd80ff  toAPK-v0.7.zip"
